<!--
 * @Author: 曹捷
 * @Date: 2019-08-19 17:00:43
 * @LastEditors: 曹捷
 * @LastEditTime: 2021-03-16 17:28:01
 * @Description: file content
 -->
<template>
  <div class="obit-nodata">
    <!-- <i class="iconfont icon-wushuju1 iconClass iconDetail"></i> -->
    <image class="nofound" src="@/static/img/nofound.png" />
    <br />
    <span>{{ desText }}</span>
  </div>
</template>

<script>
export default {
  name: 'index',
  props: {
    desText: {
      type: String,
      default: ''
    }
  },
  created () {
    if (this.desText === '') {
      //  $t 暂无数据
      this.desText = ''
    }
  }
}
</script>

<style lang="scss" scoped>
.obit-nodata {
  text-align: center;
  color: #999 !important;
  font-size: 14px;
  padding: 100rpx 0;
  .nofound {
    // width: 422rpx;
    // height: 370rpx;
  }
  .iconDetail {
    fill: #999 !important;
    font-size: 80px !important;
  }
  .iconClass {
    width: 140px !important;
    height: 120px !important;
    margin: 0 auto;
  }
}
.pop-up .mask .obit-nodata {
  text-align: center;
  color: #999 !important;
  font-size: 14px;
  .iconDetail {
    fill: #999 !important;
    font-size: 80px !important;
  }
  .iconClass {
    width: 80px !important;
    height: 80px !important;
  }
}
</style>
